package com.it.service;

import com.github.pagehelper.PageInfo;
import com.it.bean.Dict;
import com.it.page.PageQuery;

import java.util.List;
import java.util.Map;

public interface DictService {

    List<Dict> single(String field);

    Map<String, List<Dict>> many(List<String> fields);

    PageInfo<Dict> page(PageQuery<Dict> pageQuery);

    void delete(Long id);

    void save(Dict dict);
}
